<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
        <head>
                <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
                <title>京东网上商城-综合网购首选（JD.COM）-正品低价、品质保障、货到付款、配送及时、放心服务、轻松购物！</title>
                <meta content="京东JD.COM-专业的综合网上购物商城，在线销售家电、数码通讯、电脑、家居百货、服装服饰、母婴、图书、食品、在线旅游等数万个品牌千万种优质商品。便捷、诚信的服务，为您提供愉悦的网上商城购物体验! " name="description">
                        <meta content="网上购物,网上商城,手机,笔记本,电脑,MP3,CD,VCD,DV,相机,数码,配件,手表,存储卡,京东商城" name="Keywords">
                                <link rel="stylesheet/less" href="__PUBLIC__/css/common.less" />
                                <script type="text/javascript">
                                        var MODULE = '__MODULE__';
                                        var ROOT = '__ROOT__';
                                </script>
                                <script  type="text/javascript" src="__PUBLIC__/js/jquery.js" ></script>
                                <script type="text/javascript">
                                        $(function() {
                                                $('.delCart').click(function() {
                                                        var oSid = $(this).attr('sid');
                                                        var _this = $(this);
                                                        $.ajax({
                                                                url: '__MODULE__' + '&c=ShopCart&a=del_cart',
                                                                data: {sid: oSid},
                                                                dataType: 'json',
                                                                type: 'post',
                                                                success: function(data) {
                                                                        _this.parents('li').remove();
                                                                        $('.total_price span').html(data.total_rows);
                                                                        $('.total_price b').html('￥'+data.total);
                                                                        $('.countall strong').html('￥' + data.total);
                                                                }
                                                        })
                                                })
                                        })
                                </script>
                                <script  type="text/javascript" src='__PUBLIC__/js/list.js'></script>
                                <link rel="stylesheet/less" href="__PUBLIC__/css/shopCart.less" />
                                <script src="__PUBLIC__/js/less.js" type="text/javascript"></script>
                                <include file="__PUBLIC__/header.html"/>	
                                <!-- 顶部logo区域开始 -->
                                <div id="logoArea">
                                        <a href="__ROOT__"><img src="__PUBLIC__/images/logo-201305.png" alt="" /></a>
                                        <div class="step_1">
                                                <ul>
                                                        <li>
                                                                1.我的购物车
                                                        </li>
                                                        <li>
                                                                2.填写核对订单信息
                                                        </li>
                                                        <li>
                                                                3.成功提交订单
                                                        </li>
                                                </ul>
                                        </div>

                                </div>	
                                <div class="my_cart">
                                        <h2>我的购物车</h2>
                                        <div class="my_cart_list">
                                                <div class="list_title">
                                                        <ul>
                                                                <li class='sel_all'></li>
                                                                <li class='shop'>商品</li>
                                                                <li class='jd_price'>京东价</li>
                                                                <li class='promotion'>优惠</li>
                                                                <li class='li_inventory'>库存</li>
                                                                <li class="quantity">数量</li>
                                                                <li class="action">操作</li>
                                                        </ul>
                                                </div>
                                                <ul class='list_shop'>
                                                        <foreach from='$cartData' value='$v' key='$k'>
                                                                <li>
                                                                        <div class="check_all"></div>
                                                                        <div class="shop_detail">
                                                                                <div class="g_img"><img src="__ROOT__/{$v.option.thumb}"  width="50" height="50"/></div>
                                                                                <p class='g_name'><a href="{|U:'Content/index',array('gid'=>$v['option']['gid'])}">{$v.name}</a></p>
                                                                                <h3>{$v.option.stand}</h3>
                                                                        </div>
                                                                        <div class="price_jd">¥{$v.price}</div>
                                                                        <div class="jd_promotion">无</div>
                                                                        <div class="jd_quantity">有货</div>
                                                                        <div class="number" sid='{$k}'>
                                                                                <a href="#" class='minus'>-</a>
                                                                                <input type="text" name='number'  value='{$v["num"]}'/>
                                                                                <a href="javascript:;" class='plus'>+</a>
                                                                        </div>
                                                                        <div class="operate">
                                                                                <a href="javascript:;" sid='{$k}' class='delCart'>删除</a>
                                                                        </div>
                                                                </li>
                                                        </foreach>  
                                                </ul>
                                                <ul class="bottom_operate">
                                                        <li class='selall'></li>
                                                        <!--<li class='del_focus'><b></b><a href="#">删除选中商品</a></li>-->
                                                        <li class='shopping'><b></b><a href="__ROOT__">继续购物</a></li>
                                                        <li class='total_price'><span>{$allCart.total_rows}</span><strong>件商品</strong> <i>总计：</i><b>¥{$allCart.total}</b></li>
                                                </ul>
                                                <div class="countall">
                                                        <a href="{|U:'ShopCart/order'}">去结算</a><strong>¥{$allCart.total}</strong><span>总计（不含运费）：</span>
                                                </div>
                                        </div>
                                </div>
                                <include file="__PUBLIC__/foot.html"/>